﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<script language="javascript" type="text/javascript">
    $().ready(function () {
        $("a", "#mainMenu").click(function () {
            parent.window.openSubWindow(this.innerText, this.href);
            return false;
        }).css("height", "20px").css("line-height", "20px");
        $("li", "#mainMenu").css("height", "20px").css("line-height", "20px");
    });
</script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" runat="server">
<body>
    <ul id="mainMenu" class="easyui-tree" animate="false" dnd="true">
        <li state="closed">
            <span>栏目管理</span>
            <ul>
                <li><span><a href="<%=Url.Action("Index", "Section")%>">栏目列表</a></span></li>
                <li><span><a href="<%=Url.Action("Edit", "Section")%>">添加栏目</a></span></li>
            </ul>
        </li>
        <li state="closed">
            <span>内容管理</span>
            <ul>
                <li><span><a href="<%=Url.Action("Index", "Resource")%>">内容列表</a></span></li>
                <li><span><a href="<%=Url.Action("EditArticle", "Resource")%>">添加文章</a></span></li>
                <li><span><a href="<%=Url.Action("EditPictures", "Resource")%>">添加图片</a></span></li>
                <li><span><a href="<%=Url.Action("EditMedias", "Resource")%>">添加媒体</a></span></li>
                <li><span><a href="<%=Url.Action("EditFiles", "Resource")%>">添加文件</a></span></li>
            </ul>
        </li>
        <li state="closed">
            <span>产品管理</span>
            <ul>
                <li><span><a href="<%=Url.Action("EditProduct", "Resource")%>">产品列表</a></span></li>
                <li><span><a href="<%=Url.Action("EditProduct", "Resource")%>">添加产品</a></span></li>
            </ul>
        </li>
        <li state="closed">
            <span>附件管理</span>
            <ul>
                <li><span><a class="mainMenu" href="<%=Url.Action("Index", "Attach")%>">附件列表</a></span></li>
                <li><span><a href="<%=Url.Action("BatchUpload", "Attach", new {id=ResType.Picture.ID})%>">批量添加图片</a></span></li>
                <li><span><a href="<%=Url.Action("BatchUpload", "Attach", new {id=ResType.Media.ID})%>">批量添加媒体</a></span></li>
                <li><span><a href="<%=Url.Action("BatchUpload", "Attach", new {id=ResType.File.ID})%>">批量添加文件</a></span></li>
            </ul>
        </li>

    </ul>
</body>
</asp:Content>